package com.bangcommunity.bbframe.sdm.web.shiro;

import java.io.Serializable;

/**
 * Created by tanghc on 17/2/13.
 */
public interface ISdmWebTokenService<PK extends Serializable> {
    boolean validToken(PK uid, String token);

    PK readUidByToken(String token);

    boolean removeToken(String token);
}
